package com.buddies.lottery.ui.withdraw;

import com.buddies.lottery.base.IPresenter;
import com.buddies.lottery.base.IView;
import com.buddies.lottery.data.resp.PayResponse;
import com.buddies.lottery.data.resp.PayResultResponse;
import com.buddies.lottery.data.resp.WithdrawResponse;

/**
 * Created by xuliang on 2018/2/28.
 */

public interface WithdrawContract {

    interface View extends IView {
        void onQrcodePostSuccess();
        void onWithdrawPostSuccess();
        void onWithdrawInfoLoaded(WithdrawResponse response);
    }

    interface Presenter extends IPresenter<View> {
        void postQrcode(String qrcodeUrl);
        void postWithdraw(int money, String pwd);
        void loadWithdrawInfo();
    }

}
